package entity;

import java.io.Serializable;

public class Commodity implements Serializable {
    private String cId;
    private String cName;
    private Enum cKind;
    private float cPrice;

    public Commodity() {
    }

    public Commodity(String cId, String cName, Enum cKind, float cPrice) {
        this.cId = cId;
        this.cName = cName;
        this.cKind = cKind;
        this.cPrice = cPrice;
    }

    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public Enum getcKind() {
        return cKind;
    }

    public void setcKind(Enum cKind) {
        this.cKind = cKind;
    }

    public float getcPrice() {
        return cPrice;
    }

    public void setcPrice(float cPrice) {
        this.cPrice = cPrice;
    }
}
